package com.doraro.platform.module.user.model.vo;

import com.doraro.platform.common.beans.Convert;
import com.doraro.platform.common.beans.params.ValidateGroups;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CompleteParam extends Convert {

    @NotNull
    private Integer id;

    @NotNull(groups = {
            ValidateGroups.Create.class
            , ValidateGroups.Update.class
    })
    @ApiModelProperty("维修单id")
    private String orderId;


    @NotNull(groups = ValidateGroups.Create.class)
    @ApiModelProperty("故障描述")
    private String breakdownInfo;

    @NotNull(groups = ValidateGroups.Create.class)
    @ApiModelProperty("维修描述")
    private String repairInfo;
}
